﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Resources;

namespace LocalizableLibarary
{
    public class Wrapper
    {
        private ResourceManager m_resMan = null;
        public Wrapper()
        {
            m_resMan = new ResourceManager("LocalizableLibarary.Resource", System.Reflection.Assembly.GetExecutingAssembly());
            if (m_resMan == null)
                throw new InvalidOperationException("m_resMan cannot be initialized");
        }

        public string GetString(string paramName)
        {
            return m_resMan.GetString(paramName);
        }
    }
}
